package com.jieshao.listener

import com.intellij.openapi.components.service
import com.intellij.openapi.project.Project
import com.intellij.openapi.startup.ProjectActivity
import com.jieshao.service.LineShareRuntime

class ApplicationStartupListener : ProjectActivity {

    override suspend fun execute(project: Project) {
        detectPlatformRuleFromGitControl(project)
    }

    private fun detectPlatformRuleFromGitControl(project: Project) {

        project.service<LineShareRuntime>().detect {
            // not sendNotification
        }
    }
}